package org.csmz;

public class example14 {

    public static void main(String[] args){
        int sum = 0;
        for(int i=0;i<=100;i++){
            sum +=i;
            if(i>=50){
                break;
            }
            System.out.println("这是测试代码"+i);
        }
System.out.println(sum);

    }
}